package com.woniuxy01;

/**
@author 作者
@create 2025-10-21 9:47
*/
public class Test06 {
    public static void main(String[] args) {
//        int age;
////        int studentage;
//        int studentAge;
        //Byte不是基本类型byte,以后要学的包装类
        System.out.println(Byte.MIN_VALUE);
        System.out.println(Byte.MAX_VALUE);
        System.out.println(Short.MIN_VALUE);
        System.out.println(Short.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Long.MIN_VALUE);
        System.out.println(Long.MAX_VALUE);
        System.out.println(Float.MIN_VALUE);
        System.out.println(Float.MAX_VALUE);
        System.out.println(Double.MIN_VALUE);
        System.out.println(Double.MAX_VALUE);
        //float和double底层使用科学计数法，算术运行不准确，以后可以解决
        System.out.println(1.1+1.2);
        System.out.println(0.1+0.2);
    }
}
